package com.baicaoyuan.web.repository;


import com.baicaoyuan.web.model.CrowdfundingUserDO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 功能描述：众筹
 *
 * @author 罗富祥
 * 创建时间： 2018/1/4
 * 版权：
 */
@Repository
public interface CrowdfundingUserRepository extends JpaRepository<CrowdfundingUserDO, Long> {

    List<CrowdfundingUserDO> findByCrowdfundingIdAndStatusIsOrderByCreateTimeDesc(Long crowdfundingId, String status);


}
